﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace WarOfDev.Web.ViewModels
{
    public class ModuleViewModel : BaseViewModel
    {
        [Required]
        [DisplayName("Module")]
        public string ModuleName { get; set; }

        public string Description { get; set; }
        
        [DisplayName("Parent")]
        public string ParentId { get; set; }

        public ModuleViewModel Parent { get; set; }

        public bool HasChild { get; set; }
    }
}
